/**
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.handlers.commands.call;

import com.hercules.android.receiver.AndroidReceiver;
import com.hercules.android.receiver.handlers.commands.XRECommandHandlerException;
import com.hercules.android.receiver.handlers.commands.XREObjectCommandHandler;
import com.hercules.android.receiver.model.commands.XRECallCommand;
import com.hercules.android.receiver.model.commands.XRECommand;
import com.hercules.android.receiver.model.objects.XREServiceProxy;

/**
 * @author Administrator
 *
 */
public class XREServiceProxyCommandHandler extends XREObjectCommandHandler {

	/**
     * Default empty constructor.
     */
    public XREServiceProxyCommandHandler() {
        // empty
    }

	@Override
	protected void processCommandMessage(XRECommand command,
			AndroidReceiver receiver) throws XRECommandHandlerException {
		String methodName = "processCommandMessage";
        Helper.logEnter(getLogger(), this, methodName, command, receiver);
        
		// check arguments and get target object
        XRECallCommand callCommand = Helper.checkCommand(command);
        XREServiceProxy xreServiceProxy = Helper.checkReceiver(receiver, callCommand, XREServiceProxy.class);

        // get command method
        String method = callCommand.getMethod();
        
        if ("init".equals(method)) {
        	
        }
		
	}

}
